//获取userSn
var regexAndroid = /(Android)/i.test(navigator.userAgent)

export function isAndroidApp() {
    if (window.jsInterface) {
        return true
    } else {
        return false
    }
}
//返回上一页
export function onBackPressed() {
    if (regexAndroid) {
        return window.jsInterface.onBackPressed();
    } else {
        return false
    }
}
